package com.xj.community.dao;

import com.xj.community.entity.LoginTicket;
import org.apache.ibatis.annotations.*;

@Mapper
public interface LoginTicketMapper {
    LoginTicket selectByTicket(String ticket);

    //登陆时将对应的登录凭证存储到数据库中
    int insertLoginTicket(LoginTicket loginTicket);

    //新凭证的状态
    int updateLoginTicket(String ticket, int status);
}
